<?php
// +----------------------------------------------------------------------
// | SentCMS [ WE CAN DO IT JUST THINK IT ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013 http://www.tensent.cn All rights reserved.
// +----------------------------------------------------------------------
// | Author: molong <molong@tensent.cn> <http://www.tensent.cn>
// +----------------------------------------------------------------------

namespace app\common\validate;

/**
* 设置模型
*/
class ProcessApply extends Base{

    protected $rule = array(
        'id'  =>  'require',
        'role_id' =>  'require',
    );

    protected $message = array(
        // 'id.require'  =>  '规则标识必须',
        // 'role_id.require'   =>  '规则标识已经存在',
        // 'title'         =>  '规则名称必须',
    );

    // protected $scene = array(
    //     'add'   => array('name', 'title'),
    //     'edit'  => array('title')
    // );

}